Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 27, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
github.com/prometheus/client_golang v1.16.0 -> v1.20.5 age adoption passing confidence

Release Notes

prometheus/client_golang (github.com/prometheus/client_golang)

v1.20.5: / 2024-10-15

Compare Source

We decided to revert the testutil change that made our util functions less error-prone, but created a lot of work for our downstream users. Apologies for the pain! This revert should not cause any major breaking change, even if you already did the work--unless you depend on the exact error message.

Going forward, we plan to reinforce our release testing strategy [1],[2] and deliver an enhanced testutil package/module with more flexible and safer APIs.

Thanks to @​dashpole @​dgrisonnet @​kakkoyun @​ArthurSens @​vesari @​logicalhan @​krajorama @​bwplotka who helped in this patch release! 🤗

Changelog

[BUGFIX] testutil: Reverted #​1424; functions using compareMetricFamilies are (again) only failing if filtered metricNames are in the expected input. #​1645

v1.20.4

Compare Source

  • [BUGFIX] histograms: Fix a possible data race when appending exemplars vs metrics gather. #​1623

v1.20.3

Compare Source

  • [BUGFIX] histograms: Fix possible data race when appending exemplars. #​1608

v1.20.2

Compare Source

  • [BUGFIX] promhttp: Unset Content-Encoding header when data is uncompressed. #​1596

v1.20.1

Compare Source

  • [BUGFIX] process-collector: Fixed unregistered descriptor error when using process collector with PedanticRegistry on Linux machines. #​1587

v1.20.0

Compare Source

Thanks everyone for contributions!

⚠️ In this release we remove one (broken anyway, given Go runtime changes) metric and add three new (representing GOGC, GOMEMLIMIT and GOMAXPROCS flags) to the default collectors.NewGoCollector() collector. Given its popular usage, expect your binary to expose two additional metric.

Changes

  • [CHANGE] ⚠️ go-collector: Remove go_memstat_lookups_total metric which was always 0; Go runtime stopped sharing pointer lookup statistics. #​1577
  • [FEATURE] ⚠️ go-collector: Add 3 default metrics: go_gc_gogc_percent, go_gc_gomemlimit_bytes and go_sched_gomaxprocs_threads as those are recommended by the Go team. #​1559
  • [FEATURE] go-collector: Add more information to all metrics' HELP e.g. the exact runtime/metrics sourcing each metric (if relevant). #​1568 #​1578
  • [FEATURE] testutil: Add CollectAndFormat method. #​1503
  • [FEATURE] histograms: Add support for exemplars in native histograms. #​1471
  • [FEATURE] promhttp: Add experimental support for zstd on scrape, controlled by the request Accept-Encoding header. #​1496
  • [FEATURE] api/v1: Add WithLimit parameter to all API methods that supports it. #​1544
  • [FEATURE] prometheus: Add support for created timestamps in constant histograms and constant summaries. #​1537
  • [FEATURE] process-collectors: Add network usage metrics: process_network_receive_bytes_total and process_network_transmit_bytes_total. #​1555
  • [FEATURE] promlint: Add duplicated metric lint rule. #​1472
  • [BUGFIX] promlint: Relax metric type in name linter rule. #​1455
  • [BUGFIX] promhttp: Make sure server
    instrumentation wrapping supports new and future extra responseWriter methods. #​1480
  • [BUGFIX] testutil: Functions using compareMetricFamilies are now failing if filtered metricNames are not in the input. #​1424
All commits

New Contributors

Full Changelog: prometheus/client_golang@v1.19.1...v1.20.0

v1.19.1

Compare Source

What's Changed

  • Security patches for golang.org/x/sys and google.golang.org/protobuf

New Contributors

Full Changelog: prometheus/client_golang@v1.19.0...v1.19.1

v1.19.0

Compare Source

What's Changed

The module prometheus/common v0.48.0 introduced an incompatibility when used together with client_golang (See https://github.com/prometheus/client_golang/pull/1448 for more details). If your project uses client_golang and you want to use prometheus/common v0.48.0 or higher, please update client_golang to v1.19.0.

  • [CHANGE] Minimum required go version is now 1.20 (we also test client_golang against new 1.22 version). #​1445 #​1449
  • [FEATURE] collectors: Add version collector. #​1422 #​1427

New Contributors

Full Changelog: prometheus/client_golang@v1.18.0...v1.19.0

v1.18.0

Compare Source

What's Changed

  • [FEATURE] promlint: Allow creation of custom metric validations. #​1311
  • [FEATURE] Go programs using client_golang can be built in wasip1 OS. #​1350
  • [BUGFIX] histograms: Add timer to reset ASAP after bucket limiting has happened. #​1367
  • [BUGFIX] testutil: Fix comparison of metrics with empty Help strings. #​1378
  • [ENHANCEMENT] Improved performance of MetricVec.WithLabelValues(...). #​1360

New Contributors

Full Changelog: prometheus/client_golang@v1.17.0...v1.18.0

v1.17.0

Compare Source

What's Changed

  • [CHANGE] Minimum required go version is now 1.19 (we also test client_golang against new 1.21 version). #​1325
  • [FEATURE] Add support for Created Timestamps in Counters, Summaries and Historams. #​1313
  • [ENHANCEMENT] Enable detection of a native histogram without observations. #​1314
Commits

New Contributors

Full Changelog: prometheus/client_golang@v1.16.0...v1.17.0


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from proelbtn January 27, 2024 08:28
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch 2 times, most recently from bb0e2b4 to b31ae54 Compare January 27, 2024 08:53
@renovate renovate bot changed the title Update module github.com/prometheus/client_golang to v1.18.0 Update module github.com/prometheus/client_golang to v1.19.0 Feb 27, 2024
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from b31ae54 to 1b873a3 Compare February 27, 2024 19:07
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 1b873a3 to 8be9c0c Compare April 21, 2024 10:20
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 8be9c0c to c4c0479 Compare May 9, 2024 13:02
@renovate renovate bot changed the title Update module github.com/prometheus/client_golang to v1.19.0 Update module github.com/prometheus/client_golang to v1.19.1 May 9, 2024
@renovate
Copy link
Contributor Author

renovate bot commented Jun 4, 2024

ℹ Artifact update notice

File name: go.mod

In order to perform the update(s) described in the table above, Renovate ran the go get command, which resulted in the following additional change(s):

  • 14 additional dependencies were updated

Details:

Package Change
golang.org/x/mod v0.14.0 -> v0.17.0
golang.org/x/sync v0.5.0 -> v0.7.0
golang.org/x/tools v0.16.1 -> v0.21.1-0.20240508182429-e35e4ccd0d2d
github.com/cespare/xxhash/v2 v2.2.0 -> v2.3.0
github.com/prometheus/client_model v0.4.0 -> v0.6.1
github.com/prometheus/common v0.44.0 -> v0.55.0
github.com/prometheus/procfs v0.10.1 -> v0.15.1
golang.org/x/crypto v0.17.0 -> v0.24.0
golang.org/x/net v0.19.0 -> v0.26.0
golang.org/x/oauth2 v0.10.0 -> v0.21.0
golang.org/x/sys v0.15.0 -> v0.22.0
golang.org/x/term v0.15.0 -> v0.21.0
golang.org/x/text v0.14.0 -> v0.16.0
google.golang.org/protobuf v1.31.0 -> v1.34.2

@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from c4c0479 to 4cda93b Compare August 14, 2024 17:59
@renovate renovate bot changed the title Update module github.com/prometheus/client_golang to v1.19.1 Update module github.com/prometheus/client_golang to v1.20.0 Aug 14, 2024
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 4cda93b to 0e324c7 Compare August 20, 2024 12:11
@renovate renovate bot changed the title Update module github.com/prometheus/client_golang to v1.20.0 Update module github.com/prometheus/client_golang to v1.20.1 Aug 20, 2024
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 0e324c7 to 9c3f6f3 Compare August 23, 2024 21:54
@renovate renovate bot changed the title Update module github.com/prometheus/client_golang to v1.20.1 Update module github.com/prometheus/client_golang to v1.20.2 Aug 23, 2024
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 9c3f6f3 to 09170a0 Compare September 5, 2024 14:49
@renovate renovate bot changed the title Update module github.com/prometheus/client_golang to v1.20.2 Update module github.com/prometheus/client_golang to v1.20.3 Sep 5, 2024
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 09170a0 to 2a1a24f Compare September 17, 2024 09:14
@renovate renovate bot changed the title Update module github.com/prometheus/client_golang to v1.20.3 Update module github.com/prometheus/client_golang to v1.20.4 Sep 17, 2024
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 2a1a24f to 0334615 Compare October 15, 2024 11:44
@renovate renovate bot changed the title Update module github.com/prometheus/client_golang to v1.20.4 Update module github.com/prometheus/client_golang to v1.20.5 Oct 15, 2024
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 0334615 to 9467e2a Compare December 6, 2024 04:02
@renovate renovate bot force-pushed the renovate/github.com-prometheus-client_golang-1.x branch from 9467e2a to bc1df75 Compare December 22, 2024 18:29
@renovate
Copy link
Contributor Author

renovate bot commented Dec 22, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: go.sum
Command failed: go mod tidy
go: downloading github.com/stretchr/testify v1.9.0
go: downloading gotest.tools/v3 v3.5.1
go: downloading go.uber.org/goleak v1.2.1
go: downloading gopkg.in/check.v1 v1.0.0-20201130134442-10cb98267c6c
go: downloading github.com/pmezard/go-difflib v1.0.0
go: downloading go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.10.0
go: downloading go.opentelemetry.io/otel/sdk v1.10.0
go: downloading github.com/kr/pretty v0.3.1
go: downloading github.com/kylelemons/godebug v1.1.0
go: downloading github.com/morikuni/aec v1.0.0
go: downloading github.com/kr/text v0.2.0
go: downloading github.com/rogpeppe/go-internal v1.10.0
go: downloading github.com/sergi/go-diff v1.1.0
go: downloading github.com/stretchr/objx v0.5.0
go: finding module for package github.com/containerd/log
go: downloading github.com/containerd/log v0.1.0
go: finding module for package go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp
go: downloading go.opentelemetry.io/otel v1.33.0
go: downloading go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.33.0
go: downloading go.opentelemetry.io/otel/exporters/otlp/otlptrace v1.33.0
go: downloading go.opentelemetry.io v0.1.0
go: downloading go.opentelemetry.io/otel/exporters/otlp v0.20.1
go: finding module for package go.opentelemetry.io/otel/semconv/v1.21.0
go: found github.com/containerd/log in github.com/containerd/log v0.1.0
go: found go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp in go.opentelemetry.io/otel/exporters/otlp/otlptrace/otlptracehttp v1.33.0
go: found go.opentelemetry.io/otel/semconv/v1.21.0 in go.opentelemetry.io/otel v1.33.0
go: downloading golang.org/x/crypto v0.30.0
go: downloading golang.org/x/sys v0.28.0
go: downloading golang.org/x/term v0.27.0
go: downloading github.com/go-logr/logr v1.4.2
go: downloading github.com/stretchr/testify v1.10.0
go: downloading golang.org/x/net v0.32.0
go: downloading go.opentelemetry.io/otel/trace v1.33.0
go: downloading google.golang.org/protobuf v1.35.2
go: downloading github.com/google/uuid v1.6.0
go: downloading go.opentelemetry.io/otel/metric v1.33.0
go: downloading go.opentelemetry.io/otel/sdk v1.33.0
go: downloading golang.org/x/sync v0.10.0
go: downloading golang.org/x/text v0.21.0
go: downloading github.com/sirupsen/logrus v1.9.3
go: downloading go.opentelemetry.io/proto/otlp v1.4.0
go: downloading go.opentelemetry.io/auto/sdk v1.1.0
go: downloading google.golang.org/grpc v1.68.1
go: downloading github.com/cenkalti/backoff/v4 v4.3.0
go: downloading github.com/grpc-ecosystem/grpc-gateway/v2 v2.24.0
go: downloading github.com/grpc-ecosystem/grpc-gateway v1.16.0
go: downloading google.golang.org/genproto/googleapis/api v0.0.0-20241209162323-e6fa225c2576
go: downloading google.golang.org/genproto v0.0.0-20230526161137-0005af68ea54
go: downloading google.golang.org/genproto/googleapis/rpc v0.0.0-20241209162323-e6fa225c2576
go: downloading github.com/rogpeppe/go-internal v1.13.1
go: finding module for package go.opentelemetry.io/otel/metric/global
go: finding module for package go.opentelemetry.io/otel/metric/instrument/syncfloat64
go: finding module for package go.opentelemetry.io/otel/metric/instrument/syncint64
go: github.com/janog-netcon/netcon-problem-management-subsystem/cmd/nclet imports
	github.com/docker/docker/client imports
	go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp imports
	go.opentelemetry.io/otel/metric/global: module go.opentelemetry.io/otel/metric@latest found (v1.33.0), but does not contain package go.opentelemetry.io/otel/metric/global
go: github.com/janog-netcon/netcon-problem-management-subsystem/cmd/nclet imports
	github.com/docker/docker/client imports
	go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp imports
	go.opentelemetry.io/otel/metric/instrument/syncfloat64: module go.opentelemetry.io/otel/metric@latest found (v1.33.0), but does not contain package go.opentelemetry.io/otel/metric/instrument/syncfloat64
go: github.com/janog-netcon/netcon-problem-management-subsystem/cmd/nclet imports
	github.com/docker/docker/client imports
	go.opentelemetry.io/contrib/instrumentation/net/http/otelhttp imports
	go.opentelemetry.io/otel/metric/instrument/syncint64: module go.opentelemetry.io/otel/metric@latest found (v1.33.0), but does not contain package go.opentelemetry.io/otel/metric/instrument/syncint64

@renovate renovate bot changed the title Update module github.com/prometheus/client_golang to v1.20.5 Update module github.com/prometheus/client_golang to v1.20.5 - autoclosed Jan 8, 2025
@renovate renovate bot closed this Jan 8, 2025
@renovate renovate bot deleted the renovate/github.com-prometheus-client_golang-1.x branch January 8, 2025 13:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants